package com.atguigu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author zhangqi
 * @email 562895852@qq.com
 * @date 2021-10-08 15:31:19
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> list2Tree();
    //获取三级分类的级联ID  父/子/孙
    Long[] findCategoryIds(Long categoryId);



    //更新分类信息
    void updateDetail(CategoryEntity category);
}

